home *** CD-ROM | disk | FTP | other *** search
- NAME
- JustComm v1.0 - CLI based utility to make filenotes look better.
- (JustComm is a shortage for justify comment.)
-
-
- FEATURES
- * Convert letters to uppercase or lowercase
- * Make 1st. letter uppercase
- * Make short for copyright '(c)' uppercase
- * Make roman numbers uppercase (ex: xvIi -> XVII)
- * Remove CTRL-characters. These are characters which are
- displayed as strange and meaningless characters, like
- f.ex squares.
- * Convert only the substrings which matches a string given
- by the user.
- * Make 1st. letter after a character uppercase. The user
- can specify one or more such characters.
-
-
- USAGE
- JustComm [-<options>] [<advanced options>] "<filename>"
-
- Options:
- --------
- u Make letters uppercase
- l Make letters lowercase
- 1 Make 1st. letter uppercase.
- c Make short for copyright '(c)' uppercase
- r Make roman numbers uppercase.
- These are the letters M,D,C,L,X,V,I.
- t Remove CTRL-characters.
- n Use Norwegian character set
- e Use English character set (this is default)
-
- NOTE: The options are CASE SENSITIVE.
- The USAGE will be displayed when typing JustComm without
- arguments, or when an error occurs.
- You can specify one or more options after a single '-',
- and as many '-' as you like, as long as a <blank> is
- placed in front of each '-'.
-
- Example: Convert the filenote "**my oWn clI-coMmANd (c)1999"
- to "**My own cli-command (C)1999"
- To achieve this, use the options 1,l and c:
- Example 1: -1 -l -c
- Example 2: -1l -c
- Example 3: -1lc
-
-
- Advanced options:
- -----------------
- SEL="<string>" Select only substrings which matches the given string.
- FLU="<string>" Make 1st. letter after one of the characters in
- the given string uppercase.
-
- NOTE: The advanced options and the strings are CASE INSENSITIVE.
- No spaces are allowed either before or after the '='.
-
- Example: Convert the filenote "**my own cli-command (C)1999"
- to "**My own cli-Command (C)1999"
- To achieve this, use the following advanced options:
- FLU="*-"
-
- If you in addition want to make the "cli"-text uppercase,
- use the following combination of advanced options and options:
-
- SEL="cli" -u
-
- The filenote will now look like this:
- "**My own CLI-Command (C)1999"
-
-
- Filename(s):
- ------------
- One or more filenames can be chosen.
- Each filename must be specified within quotes.
- If you choose more than one filename, each file has to be specified
- after each other. This means no options or advanced options
- between the filenames.
- The utility doesn't support wildcards in filenames, but treats them
- as if they are normal characters.
-
- Example: "RAM:file1" "RAM:file2" "RAM:file3"
-
-
-
- General:
- --------
- The options and advanced options can be placed whereever you like,
- as long as they aren't placed between two filenames.
- But remember: When using Directory Opus, you should always place
- the filenames last. Directory Opus seems to have
- a maximum argument length when running CLI-commands,
- and when exceeding this limit, it splits the
- argument-string and runs the CLI-command several times.
- If the filenames are placed last, you ensure that
- no option are moved to the next "splitted"
- argument string.
- If you don't, unexpected results may occur, like
- these error messages: "missing args !", "wrong args !",
- etc.
-
-
-
- A complete example:
- -------------------
- Suppose we have 2 files:
-
- Filename Filenote
- file1 a CoMPlEte TEST of the clicOmMaNd ! (c)1999 mr. lightstone
- file2 tHiS is a teSt of roman leTteRs: xvii, and ÆØÅ.
-
- We want them to look like this:
- Filename Filenote
- file1 A complete test of the CLIcommand ! (C)1999 Mr. Lightstone
- file2 This is a test of roman letters: XVII, and ÆØÅ.
-
- Example 1: JustComm -1lcr FLU="9." "file1" "file2"
- JustComm -u SEL="cli" "file1" "file2"
-
- If you also want to make the ÆØÅ lowercase, simply add -n to the
- argument.
-
-
-
- COMPATIBILITY
- It has been testet from CLI and Directory Opus 4 on Amigas using
- standard filesystem:
- * A500 / 0.5MB Fast / Kickstart 1.3
- * A1200 / Blizzard 1230 / 32MB Fast / Kickstart 3.1 / 1.6 GB HD
-
- And the following one from Directory Opus 5.
- SmartFileSystem and ProFileSystem II where used as filesystems:
- * A1200 / Blizzard 1230 / 40MB Fast / Kickstart 3.0 / 6.5 GB HD
-
-
-
- DISCLAIMER
- Copyright © 1999 by Mr. Lightstone.
-
- Use JustComm at your own risk. The author cannot be held responsible
- for any damage that is directly or indirectly caused by the use of
- this program.
-
- JustComm is freeware. This means it can be copied freely, as long as
- all files in this archive are kept unmodified.
-
- If you like it, have any comments or suggestions, just drop me an
- E-mail.
-
-
- CREDITS
- Thanks to PER for the inquiry of such a CLI-command, and for the
- suggestion of the -t option.
- Thanks to JEANO for the suggestion of the -c and -r options.
-
-
- -------------------------------------------------------------------------
-
-
-
- ========================= Archive contents ==============================
-
-
- Listing of archive 'JustComm.lha':
- Original Packed Ratio Date Time Name
- -------- ------- ----- --------- -------- -------------
- 2884 2012 30.2% 29-Jul-99 14:33:06 justifycomment/JustComm
- 6208 2403 61.2% 06-Aug-99 01:18:30 justifycomment/JustComm.doc
- 1635 750 54.1% 06-Aug-99 01:09:06 justifycomment/JustComm.readme
- -------- ------- ----- --------- --------
- 10727 5165 51.8% 06-Aug-99 01:19:26 3 files
-
- Operation successful.